﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AP.Framework.Infrastructure.Entities
{
    public class sys_Users
    {
        public int ID { get; set; }
        [Required(ErrorMessage = "用户名不能为空!")]
        public string UserName { get; set; }
        [Required(ErrorMessage = "密码不能为空!")]
        public string Password { get; set; }
        public string Email { get; set; }
        public string Question { get; set; }
        public string Answer { get; set; }
        public DateTime? CreateTime { get; set; }
        public DateTime? LastLoginTime { get; set; }
        public int? Status { get; set; }
        public bool? IsOnline { get; set; }
        public bool? IsLimit { get; set; }
    }


}
